package com.atguigu.gulimall.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Copyright (c) 2019-2029 星大陆 All Rights Reserved
 * <p>
 * Project: gulimall
 * Package: com.atguigu.gulimall.auth.feign
 * Version: V 1.0
 * <p>
 * Created by guoxiaolong on 2021/01/13 18:34
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    @PostMapping("/yzx/verifySms/sendcode")
    R sendSMSCode(@RequestParam("phone") String phone, @RequestParam("variable") String variable);

}
